<template>
		<view class="cu-list grid col-4">
			<view class="cu-item" v-for="(item,index) in cuIcon" :key="index" v-if="item.isShow" @tap="clickHandler(item)">
				<text class="lg text-gray" :class="'cuIcon-' + item.name"></text>
				<text>{{item.text}}</text>
			</view>
		</view>
</template>

<script>
	export default {
		props: {
			cuIcon:Array,
			required: true
		},

		data() {
			return {
			}
		},
		methods: {
			clickHandler(item){
				this.$emit('clickHandler',item)
			}
		}
	}
</script>

<style scoped>
</style>
